#pragma once
#include<stdio.h>
struct ListNode
{
	int val;
	struct ListNode* next;
};

struct ListNode* detect(struct ListNode* head);